<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>APU Automated Pilot Utility - Menu</title>
<?php include('include/header.php'); ?>
</head>

<body>
<div align="center">
  <table class="table_roster_header">
    <tbody>
      <tr>
        <td><div align="center">
          <p class="textredBLrg">APU<br />
            Automated Pilot Utility
          </p>
          <p class="textredBLrg">
			<?php
				include('include/config.php');
				echo $vaName;
			?>
          <br />
          </p>
        </div></td>
      </tr>
    </tbody>
    <tfoot>
      <tr>
        <td></td>
      </tr>
    </tfoot>
  </table>
  <p>&nbsp;</p>
  <table class="table_menu">
    <caption>
  APU Menu  </caption>
    <thead>
      <tr>
        <th>&nbsp;</th>
        <th>&nbsp;</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a href="pirep.php">Submit PIREP</a> </td>
        <td class="tableTextCenter"><a href="pirep.php"><img src="img/pirep.jpg" alt="" width="48" height="48" border="0" /></a></td>
      </tr>
      <tr>
        <td><a href="roster.php">Pilots Roster</a></td>
        <td class="tableTextCenter"><a href="roster.php"><img src="img/pilot.jpg" alt="" width="48" height="48" border="0" /></a></td>
      </tr>

		<?php
			include "include/config.php";
			if ( $bFlightTracking == true )
			{
		       echo "<tr>\n";
		       echo "  <td><a href=\"map/FlightTracker.php\">Flight Tracking</a></td>\n";
		       echo "  <td class=\"tableTextCenter\"><a href=\"map/FlightTracker.php\"><img src=\"img/admin.jpg\" width=\"48\" height=\"48\" border=\"0\" /></a></td>\n";
		       echo "</tr>\n";
			}
		?>

      <tr>
        <td><a href="register.php">Register</a></td>
        <td class="tableTextCenter"><a href="register.php"><img src="img/roster.jpg" alt="" width="48" height="48" border="0" /></a></td>
      </tr>
      <tr>
        <td><a href="changepass.php">Change Password</a></td>
        <td class="tableTextCenter"><a href="changepass.php"><img src="img/changepass.jpg" alt="" width="48" height="48" border="0" /></a></td>
      </tr>
      <tr>
        <td><a href="admin/index.php">Administration</a></td>
        <td class="tableTextCenter"><a href="admin/index.php"><img src="img/admin.jpg" alt="" width="48" height="48" border="0" /></a></td>
      </tr>
    </tbody>
    <tfoot>
      <tr>
        <td colspan="2">&nbsp;</td>
      </tr>
    </tfoot>
  </table>
  <p>
  	<?php
		include('include/common.php');
		echo $APU_COPYRIGHT;
  	?>
  </p>
</div>
</body>
</html>
